import {request} from "../../request";

export function getPutawaystrategydetailById(id){
    return request({
        url:`/lswms/putawaystrategydetail/${id}`,
        method:'get'
    })
}


export function getPutawaystrategydetailPage(data){
    return request({
        url:'/lswms/putawaystrategydetail/page',
        method:'put',
        data:data
    })
}

export function putPutawaystrategydetail(data){
    return request({
        url:'/lswms/putawaystrategydetail',
        method:'put',
        data:data
    })
}
export function postPutawaystrategydetail(data){
    return request({
        url:'/lswms/putawaystrategydetail',
        method:'post',
        data:data
    })
}

export function deletePutawaystrategydetail(data){
    return request({
        url:`/lswms/putawaystrategydetail`,
        method:'delete',
        data:data
    })
}
export function exportPutawaystrategydetail(data){
    return request({
        url:`/lswms/putawaystrategydetail/export`,
        method:'get',
        data:data,
        responseType:'blob'
    })
}
